package com.gujiangbo.algorithm;

public class ExceptionTest {

    public static void main(String[] args) {
        int a = 8;
        int b = 0;
        try {
            int c = a / b;
        } catch (Exception e) {
            System.out.println(e.getMessage());

        }
        System.out.println("ok");
    }
}

